<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <a href="login.html">111</a>
    <script>
        // confirm('1');
        // alert('1');
        // open('1');
        // var str1 = "abc123def456";
        // var str2 = str1.replace(/\d/gi,"*")
        // console.log(str2);
        // for(var i = 0;i<10;i++) {
        //     setTimeout(function() {
        //         console.log(i);
        //     },1000)
        // }
        var tets = 'global'
        const b = (function() {
            const test = 'scope';
            return {
                test: '111',
                say() {
                    console.log(this.test);
                }
            }
        }());
        b.say();
    </script>
</body>
</html>